package com.ssy.lingxi.report.model.constant.pay;

/**
 * 交易状态
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/7/21
 */
public enum TradeStatusEnum {
    ApplyCashOut(1, "申请提现"),
    CheckPass(2, "审核通过"),
    CheckNotPass(3, "审核不通过"),
    CashOutSuccess(4, "提现成功"),
    CashOutFail(5, "提现失败"),
    Paying(6, "支付中"),
    PayingFail(7, "支付失败"),
    ConfirmAccount(8, "确认到账"),
    PayingSuccess(9, "支付成功");

    private final Integer code;
    private final String message;

    TradeStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
